home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2251 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  970 b 

  1. Path: atlas.axiom.net!usenet
  2. From: Dave Nulton <dnult@axiom.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Help! Need a circle function taking float angle arguements
  5. Date: 16 Jan 1996 18:43:10 GMT
  6. Organization: Axiom Communications
  7. Message-ID: <4dgrju$ept@atlas.axiom.net>
  8. NNTP-Posting-Host: node094.axiom.net
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  13.  
  14. I need a function that plots a circle on the screen in Borland 
  15. Turbo C++.  The graphics.h file contains a function circle that 
  16. takes an int x and y origin and int start and end angles.  The 
  17. problem is that I need float start and end angles.
  18.  
  19. I figure I can write a function using the putpixel function.  
  20. However, being an inexperienced programmer, I would much perfer to 
  21. find an existing library with the function I need.
  22.  
  23. Does anyone know of such a library, or should I start writing that 
  24. putpixel version.
  25.  
  26. Thanks
  27. -dnult
  28.  
  29.